// searchEngine.js
import http from "@/utils/http";

export const searchEngineApi = {
  /**
   * 搜索内容补全接口
   * @param {Object} suffix 包含需要补全字符串的对象参数
   */
  searchPrompt(suffix) {
    return http.post("/searchEngine/v1/searchEngines/searchPrompt", suffix);
  },
  /**
   * 分页条件搜索接口
   * @param {Object} data 分页查询对象
   */
  ObtainTheSearchResultsByPagination(data) {
    return http.post("/searchEngine/v1/searchEngines/getDataList", data);
  }
};
